projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6f9d8c
)
mkshort: Add a final stage (mkshort(,shortname)) to mkshort_from_wpt.
author
oliskoli
<oliskoli>
Sun, 17 Aug 2008 16:19:00 +0000
(16:19 +0000)
committer
oliskoli
<oliskoli>
Sun, 17 Aug 2008 16:19:00 +0000
(16:19 +0000)
mkshort.c
patch
|
blob
|
history
diff --git
a/mkshort.c
b/mkshort.c
index 7e26fa782ac4b9e74d7b63256dc67607417f68c0..5e417724dc21d1bfb76a1e63220a4efd7577a2ef 100644
(file)
--- a/
mkshort.c
+++ b/
mkshort.c
@@
-601,7
+601,10
@@
mkshort_from_wpt(short_handle h, const waypoint *wpt)
}
/* Should probably never actually happen... */
- return NULL;
+ /* O.K.: But this can happen (waypoints transformed from trackpoints )! */
+ /* Now we return every time a valid entity." */
+
+ return mkshort(h, wpt->shortname);
}